package boot.spring.mapper;

import boot.spring.po.Staff;
import org.apache.ibatis.annotations.Param;

public interface LoginMapper {
	Staff getpwdbyname(String name);
	Staff getnamebyid(long id);
	void insertUser(boot.spring.po.Staff staff);
	void updatePasswordByUsername(@Param("username") String username, @Param("password") String password);
}
